//
//  ImageSizeManager.h
//  Coding_My
//
//  Created by showXxie on 2017/8/25.
//  Copyright © 2017年 sooxie. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ImageSizeManager : NSObject
+ (instancetype)shareManager;
- (CGSize)sizeWithSrc:(NSString *)src originalWidth:(CGFloat)originalWidth maxHeight:(CGFloat)maxHeight;

- (BOOL)hasSrc:(NSString *)src;

- (void)saveImage:(NSString *)imagePath size:(CGSize)size;

- (CGSize)sizeWithImage:(UIImage *)image originalWidth:(CGFloat)originalWidth maxHeight:(CGFloat)maxHeight;
@end
